local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1
L0_1 = {}
L0_1.group_id = 240016005
L1_1 = {}
L2_1 = {}
L2_1.config_id = 5006
L2_1.monster_id = 21011201
L3_1 = {}
L3_1.x = -73.96
L3_1.y = 279.579
L3_1.z = -181.822
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 73.999
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 5007
L3_1.monster_id = 21011201
L4_1 = {}
L4_1.x = -66.512
L4_1.y = 279.688
L4_1.z = -187.533
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 28.492
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L4_1.config_id = 5008
L4_1.monster_id = 21010501
L5_1 = {}
L5_1.x = -70.196
L5_1.y = 279.579
L5_1.z = -192.167
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 25.689
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = {}
L5_1.config_id = 5009
L5_1.monster_id = 21011001
L6_1 = {}
L6_1.x = -77.792
L6_1.y = 279.579
L6_1.z = -184.944
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 59.077
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L6_1.config_id = 5010
L6_1.monster_id = 21011201
L7_1 = {}
L7_1.x = -70.459
L7_1.y = 279.579
L7_1.z = -185.99
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 34.459
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L7_1.config_id = 5011
L7_1.monster_id = 21030301
L8_1 = {}
L8_1.x = -73.906
L8_1.y = 279.571
L8_1.z = -189.9
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 36.05
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L8_1.config_id = 5012
L8_1.monster_id = 21010701
L9_1 = {}
L9_1.x = -73.557
L9_1.y = 279.689
L9_1.z = -180.819
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 90.112
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L9_1.config_id = 5013
L9_1.monster_id = 21010701
L10_1 = {}
L10_1.x = -64.704
L10_1.y = 279.687
L10_1.z = -187.722
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 6.462
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L10_1 = {}
L10_1.config_id = 5014
L10_1.monster_id = 21030401
L11_1 = {}
L11_1.x = -62.497
L11_1.y = 279.559
L11_1.z = -176.085
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 198.4
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L11_1 = {}
L11_1.config_id = 5015
L11_1.monster_id = 21010901
L12_1 = {}
L12_1.x = -66.33
L12_1.y = 279.559
L12_1.z = -173.635
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 180.771
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L12_1 = {}
L12_1.config_id = 5016
L12_1.monster_id = 21011001
L13_1 = {}
L13_1.x = -59.584
L13_1.y = 279.563
L13_1.z = -180.358
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 254.491
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L13_1 = {}
L13_1.config_id = 5017
L13_1.monster_id = 21020201
L14_1 = {}
L14_1.x = -71.21
L14_1.y = 279.559
L14_1.z = -186.689
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 38.124
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L14_1 = {}
L14_1.config_id = 5018
L14_1.monster_id = 21010701
L15_1 = {}
L15_1.x = -62.883
L15_1.y = 279.579
L15_1.z = -188.549
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 0.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L15_1 = {}
L15_1.config_id = 5019
L15_1.monster_id = 21010701
L16_1 = {}
L16_1.x = -75.268
L16_1.y = 279.579
L16_1.z = -179.706
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 69.767
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L16_1 = {}
L16_1.config_id = 5020
L16_1.monster_id = 21020501
L17_1 = {}
L17_1.x = -71.336
L17_1.y = 279.563
L17_1.z = -187.026
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 38.457
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 5001
L2_1.gadget_id = 70900051
L3_1 = {}
L3_1.x = -67.545
L3_1.y = 279.688
L3_1.z = -181.857
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 5002
L3_1.gadget_id = 70211021
L4_1 = {}
L4_1.x = -73.383
L4_1.y = 279.579
L4_1.z = -189.57
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 37.093
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 16
L3_1.drop_tag = "\230\136\152\230\150\151\233\171\152\231\186\167\231\146\131\230\156\136"
L3_1.showcutscene = true
L3_1.isOneoff = true
L3_1.persistent = true
L4_1 = {}
L4_1.config_id = 5003
L4_1.gadget_id = 70900201
L5_1 = {}
L5_1.x = -67.461
L5_1.y = 280.31
L5_1.z = -181.769
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 0.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1005005
L2_1.name = "GADGET_STATE_CHANGE_5005"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_STATE_CHANGE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_5005"
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_5005"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1005021
L3_1.name = "ANY_MONSTER_LIVE_5021"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_MONSTER_LIVE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_MONSTER_LIVE_5021"
L3_1.action = "action_EVENT_ANY_MONSTER_LIVE_5021"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1005022
L4_1.name = "CHALLENGE_SUCCESS_5022"
L5_1 = EventType
L5_1 = L5_1.EVENT_CHALLENGE_SUCCESS
L4_1.event = L5_1
L4_1.source = "100"
L4_1.condition = ""
L4_1.action = "action_EVENT_CHALLENGE_SUCCESS_5022"
L4_1.trigger_count = 0
L5_1 = {}
L5_1.config_id = 1005023
L5_1.name = "CHALLENGE_FAIL_5023"
L6_1 = EventType
L6_1 = L6_1.EVENT_CHALLENGE_FAIL
L5_1.event = L6_1
L5_1.source = "100"
L5_1.condition = ""
L5_1.action = "action_EVENT_CHALLENGE_FAIL_5023"
L5_1.trigger_count = 0
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 5001
L3_1[1] = L4_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_STATE_CHANGE_5005"
L5_1 = "ANY_MONSTER_LIVE_5021"
L6_1 = "CHALLENGE_SUCCESS_5022"
L7_1 = "CHALLENGE_FAIL_5023"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 5003
L4_1[1] = L5_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L6_1 = 5006
L7_1 = 5007
L8_1 = 5008
L9_1 = 5009
L10_1 = 5010
L11_1 = 5011
L12_1 = 5012
L13_1 = 5013
L14_1 = 5014
L15_1 = 5015
L16_1 = 5016
L17_1 = 5017
L18_1 = 5018
L19_1 = 5019
L20_1 = 5020
L5_1[1] = L6_1
L5_1[2] = L7_1
L5_1[3] = L8_1
L5_1[4] = L9_1
L5_1[5] = L10_1
L5_1[6] = L11_1
L5_1[7] = L12_1
L5_1[8] = L13_1
L5_1[9] = L14_1
L5_1[10] = L15_1
L5_1[11] = L16_1
L5_1[12] = L17_1
L5_1[13] = L18_1
L5_1[14] = L19_1
L5_1[15] = L20_1
L4_1.monsters = L5_1
L5_1 = {}
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L5_1 = {}
L6_1 = {}
L5_1.monsters = L6_1
L6_1 = {}
L7_1 = 5002
L6_1[1] = L7_1
L5_1.gadgets = L6_1
L6_1 = {}
L5_1.regions = L6_1
L6_1 = {}
L5_1.triggers = L6_1
L5_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = A1_2.param2
  if 5001 == L2_2 then
    L2_2 = GadgetState
    L2_2 = L2_2.GearStart
    L3_2 = A1_2.param1
    if L2_2 == L3_2 then
      goto lbl_11
    end
  end
  L2_2 = false
  do return L2_2 end
  ::lbl_11::
  L2_2 = true
  return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_5005 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2, L16_2, L17_2, L18_2, L19_2, L20_2, L21_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AutoMonsterTide
  L3_2 = A0_2
  L4_2 = 1
  L5_2 = 240016005
  L6_2 = {}
  L7_2 = 5006
  L8_2 = 5007
  L9_2 = 5008
  L10_2 = 5009
  L11_2 = 5010
  L12_2 = 5011
  L13_2 = 5012
  L14_2 = 5013
  L15_2 = 5014
  L16_2 = 5015
  L17_2 = 5016
  L18_2 = 5017
  L19_2 = 5018
  L20_2 = 5019
  L21_2 = 5020
  L6_2[1] = L7_2
  L6_2[2] = L8_2
  L6_2[3] = L9_2
  L6_2[4] = L10_2
  L6_2[5] = L11_2
  L6_2[6] = L12_2
  L6_2[7] = L13_2
  L6_2[8] = L14_2
  L6_2[9] = L15_2
  L6_2[10] = L16_2
  L6_2[11] = L17_2
  L6_2[12] = L18_2
  L6_2[13] = L19_2
  L6_2[14] = L20_2
  L6_2[15] = L21_2
  L7_2 = 15
  L8_2 = 6
  L9_2 = 6
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
  if 0 ~= L2_2 then
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.RemoveExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 240016005
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = 0
  return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_5005 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 5006 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_LIVE_5021 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2
  L2_2 = ScriptLib
  L2_2 = L2_2.ActiveChallenge
  L3_2 = A0_2
  L4_2 = 100
  L5_2 = 2
  L6_2 = 240
  L7_2 = 240016005
  L8_2 = 15
  L9_2 = 0
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : active_challenge"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_LIVE_5021 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 240016005
  L5_2 = 4
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = 0
  return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_5022 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.RefreshGroup
  L3_2 = A0_2
  L4_2 = {}
  L4_2.group_id = 240016005
  L4_2.suite = 1
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.AddExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 240016005
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = 0
  return L2_2
end
action_EVENT_CHALLENGE_FAIL_5023 = L1_1
